<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$title} 管理中心 - {$membertitle} </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<link href="styles/page.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/action.js"></script>
</head>
<body>
<h1>
<span class="action-span1">{$title} 管理中心  - {$membertitle} </span>
<div style="clear:both"></div>
</h1>
<form method="post" action="member.php" name="theForm">
<!-- start ad position list -->
<input type="text" name="selectvalue" id="selectvalue" value = "{$namevalue}">
<select id="stylename" name="stylename">
<option value="0">请选择</option>
<option value="1" {if $selectstyle == "1"}selected{/if} >UID</option>
<option value="2" {if $selectstyle == "2"}selected{/if} >昵称</option>
<option value="3" {if $selectstyle == "3"}selected{/if} >电话</option>
<input type="button" value="提交" onclick="usercheck()">
<input type="hidden" value="searchuser" name="act">
</select>
</from>
<div class="list-div" id="listDiv">
<table width="100%" cellspacing="1" cellpadding="2" id="list-table">
  <tr>
    <th>UID</th>
    <th>名称</th>
    <th>{$moneyname}</th>
    <th>注册时间</th>
    <th>注册手机</th>
    <th>是否手机验证</th>
    <th></th>
  </tr>
  {if $memberarray}
  {if $act =='all'}
  {section name=val loop=$memberarray}
  <tr>
	<td>{$memberarray[val].id}</td>
	<td>{$memberarray[val].name}</td>
	<td>{$memberarray[val].money}</td>
	<td>{$memberarray[val].created|date_format:'%Y-%m-%d %H:%M:%S'}</td>
	<td>{$memberarray[val].phone}</td>
	<td><a href="?aco=updat&val={$memberarray[val].isphone}&id={$memberarray[val].id}">{if $memberarray[val].isphone == 0}未验证{else}验证{/if}</a></td>
	<td>查看<a href="userdetial.php?id={$memberarray[val].id}">{$memberarray[val].name}</a>的详细信息</td>
  </tr>
  {/section}
  {else}
  <tr>
	<td>{$memberarray.id}</td>
	<td>{$memberarray.name}</td>
	<td>{$memberarray.money}</td>
	<td>{$memberarray.created|date_format:'%Y-%m-%d %H:%M:%S'}</td>
	<td>{$memberarray.phone}</td>
	<td><a href="?aco=updat&val={$memberarray.isphone}&id={$memberarray.id}&act=searchuser&stylename={$selectstyle}&selectvalue={$namevalue}">{if $memberarray.isphone == 0}未验证{else}验证{/if}</a></td>
	<td>查看<a href="userdetial.php?id={$memberarray.id}">{$memberarray.name}</a>的详细信息</td>
  </tr
  {/if}
  {else}
  <tr>
	<td>没有数据</td>
  </tr>
  {/if}
  
  </table>
 {include file="./pageclass.tpl"}
</div>
{include file="foot.tpl"}
</body>
</html>
